package com.shanghaionstar.report.bean;

/**
 *
 */
public class DeviceDTO {
    protected String deviceID;  //设备ID
    protected String deviceType;  //设备类型
    protected String deviceOS;//系统版本
    protected String deviceToken;  //信鸽token
    protected String deviceDesc;  //设备具体信息,比如

    public DeviceDTO() {
    }

    public DeviceDTO(String deviceID, String deviceType, String deviceOS, String deviceToken, String deviceDesc) {
        this.deviceID = deviceID;
        this.deviceType = deviceType;
        this.deviceOS = deviceOS;
        this.deviceToken = deviceToken;
        this.deviceDesc = deviceDesc;
    }

    public static class DeviceBuilder {
        protected String deviceID;  //设备ID
        protected String deviceType;  //设备类型
        protected String deviceOS;//系统版本
        protected String deviceToken;  //信鸽token
        protected String deviceDesc;  //设备具体信息,比如

        public DeviceBuilder deviceID(String deviceID) {
            this.deviceID = deviceID;
            return this;
        }

        public DeviceBuilder deviceType(String deviceType) {
            this.deviceType = deviceType;
            return this;
        }

        public DeviceBuilder deviceOS(String deviceOS) {
            this.deviceOS = deviceOS;
            return this;
        }


        public DeviceBuilder deviceToken(String deviceToken) {
            this.deviceToken = deviceToken;
            return this;
        }


        public DeviceBuilder deviceDesc(String deviceDesc) {
            this.deviceDesc = deviceDesc;
            return this;
        }

        public DeviceDTO createDeviceDTO() {
            return new DeviceDTO(deviceID, deviceType, deviceOS, deviceToken, deviceDesc);
        }
    }

    public String getDeviceID() {
        return deviceID;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public String getDeviceOS() {
        return deviceOS;
    }


    public String getDeviceToken() {
        return deviceToken;
    }


    public String getDeviceDesc() {
        return deviceDesc;
    }


    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public void setDeviceOS(String deviceOS) {
        this.deviceOS = deviceOS;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    public void setDeviceDesc(String deviceDesc) {
        this.deviceDesc = deviceDesc;
    }
}
